<template>
  <!-- width="50%" style="border-right: 1px dashed" -->
  <el-card>
    <time-line :data="versionList"></time-line>
  </el-card>
</template>

<script>
import TimeLine from "@/components/TimeLine";

export default {
  name: "index",
  components: {
    TimeLine
  },
  data() {
    return {
      versionList: {
        "2018-11-24": [
          { content: "完成node后端的基本流程，准备开始编写基本组件" }
        ],
        "2018-11-25": [
          {
            title: "1.0.0",
            content:
              "完成时间轴组件（也算是完成了文章归档和版本更新时间记录的界面）"
          },
          { title: "1.0.1", content: "更新了EChart组件" }
        ],
        "2018-11-26": [{ content: "完成文章列表页的前后端逻辑" }],
        "2018-11-27": [
          {
            title: "1.1.0",
            content: "解决项目打包部署的相关问题（还是挺多问题的 - -~）"
          },
          { content: "优化build后的文件，添加性能优化分析工具" }
        ],
        "2018-12-02": [{ title: "1.1.1", content: "添加首页布局样式" }]
      }
    };
  }
};
</script>

<style scoped></style>
